#ifndef CREATESESSION_H
#define CREATESESSION_H

#include "NewFile/newfile.h"
#include "ColourButton/colourbutton.h"

#include <QDialog>


namespace Ui
{
	class CreateSession;
}

class CreateSession : public QDialog
{
	Q_OBJECT

	public:
		CreateSession(QWidget *parent = 0);
		~CreateSession();

		NewFile::DocumentType getDocumentType() const;
		QString getSessionName();
		int getPort();
		QString getUserName();
		QColor getUserColour();

	public slots:
		void accept();

	protected:
		void changeEvent(QEvent *e);

	private:
		Ui::CreateSession *ui;
		ColourButton *pushButton_textColour;
};

#endif // CREATESESSION_H
